package sf.database.meta;

import sf.core.DBField;

@SuppressWarnings("serial")
public class TupleField implements DBField, MetadataContainer {
    private ITableMapping meta;
    private String name;

    TupleField(ITableMapping meta, String name) {
        this.meta = meta;
        this.name = name;
    }

    public String name() {
        return name;
    }

    public ITableMapping getMeta() {
        return meta;
    }

    @Override
    public String toString() {
        return name;
    }

}
